package com.cjst.pojo.base;


import com.cjst.core.FieldName;
import com.cjst.core.TableName;
import com.cjst.modle.base.PoModel;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 文章通知等
 * @author yj
 *
 */
@TableName(name="t_article")
public class Article extends PoModel{
	private static final long serialVersionUID = 1L;

	@FieldName(name="title")
    private String title;		//标题

	@FieldName(name="type")
    private Integer type;			//0通知,1新闻

	@FieldName(name="content")
    private String content;			//类容

	@FieldName(name="is_top")
    private Integer isTop;				//是否首页展示:0否，1是
	
	@FieldName(name="top_url")
    private String topUrl;	
	
	@FieldName(name="create_time")
    private String createTime;	
	
	@FieldName(name="create_user")
    private String createUser;				

	@FieldName(name="update_time")
    private String updateTime;				
    
	@FieldName(name="update_user")
	private String updateUser;
	
	@FieldName(name="create_name")
	private String createName;
	
	@FieldName(name="is_delete")
	private Integer isDelete;
	
	@FieldName(name="px")
	private Long px;
	
	@FieldName(name="content_text")
	private String contentText;
	
	@FieldName(name="text_source")
	private String textSource;

	@FieldName(name="num")
	private String num;
	@FieldName(name="office_id")
    private Integer officeId;

	public String getTopUrl() {
		return topUrl;
	}

	public void setTopUrl(String topUrl) {
		this.topUrl = topUrl;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}


	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}


	public Integer getIsTop() {
		return isTop;
	}

	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Long getPx() {
		return px;
	}

	public void setPx(Long px) {
		this.px = px;
	}

	public String getContentText() {
		return contentText;
	}

	public void setContentText(String contentText) {
		this.contentText = contentText;
	}

	public String getTextSource() {
		return textSource;
	}

	public void setTextSource(String textSource) {
		this.textSource = textSource;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public Integer getOfficeId() {
		return officeId;
	}

	public void setOfficeId(Integer officeId) {
		this.officeId = officeId;
	}
	
}
